package cn.xshi.monitor.dao;

import cn.xshi.monitor.model.IotCameraType;

import java.util.List;
import java.util.Map;

/**
 * @Desc 摄像机厂商类型
 * @Author 邓纯杰
 * @CreateTime 2012-12-12 12:12:12
 */
public interface IotCameraTypeDao {

    /**
     * 分页
     * @param condition
     * @return
     */
    List<IotCameraType> getCameraTypeListByCondition(Map<String, Object> condition);

    /**
     * 查询对象
     * @param id
     * @return
     */
    IotCameraType getCameraTypeById(String id);

    /**
     * 添加
     * @param cameraType
     * @return
     */
    int addCameraType(IotCameraType cameraType);

    /**
     * 修改
     * @param cameraType
     * @return
     */
    int updateCameraType(IotCameraType cameraType);

    /**
     * 删除
     * @param condition
     * @return
     */
    int delCameraType(Map<String, Object> condition);
}
